package examTest;

public class EnumTest {

	public enum MyType{collie,harrier,shephred};  
	public static void main(String[] args) {
		
		MyType mt=MyType.shephred;
		switch (mt) {
		case collie:
			System.out.println("collie");
		default:
			System.out.println("retriexver");
		case harrier:
			System.out.println("harrier");	
			  
		}
		
		
		float f=7.00f;
		int in=7;
		System.out.println((in<7) ? "oui" : "non");
		
		
		lancerAssert(null);
		
	}
	private static void lancerAssert(Object value) {
		 
		if( value==null : "its nulll";
		
		
		System.out.println(value.getClass());
		
	}

}
